* nsmenu.m (Popdown_data): New struct.
authorJan D. <jan.h.d@swipnet.se>
Sun, 22 Jul 2012 16:35:15 +0000 (18:35 +0200)
committerJan D. <jan.h.d@swipnet.se>
Sun, 22 Jul 2012 16:35:15 +0000 (18:35 +0200)
commitf5399ebfb8ab28adf56618485c81590249c07030
tree655e7c732528612ee37d34c352b8ab12c5f7207a
parent0d2448f2d21195c15d53a8962b17709dd61f24da
* nsmenu.m (Popdown_data): New struct.
(pop_down_menu): p->pointer is Popdown_data.  Release the pool and
free Popdown_data.
(ns_popup_dialog): Use NSAutoreleasePool and pass it to pop_down_menu.
(initWithContentRect): Make imgView and contentView non-static
and autorelease them.  Also autorelease img and matrix.
(dealloc): Remove (Bug#12005).
src/ChangeLog
src/nsmenu.m